set DIR=%~dp0
set DES="%DIR%/../..//src/main/java"

thrift -out %DES% --gen java %DIR%/service.thrift
thrift -out %DES% --gen java %DIR%/scribe.thrift

echo "DONE!"
